package com.dj.mingkong.common.enums;

/**
 * 用户登录应用枚举
 *
 * @author zenglonghui
 * @date: 2022/12/7 10:25
 */
public enum LoginLogAppCodeEnum {
    APP("app", "手机app"),
    H5("h5", "手机h5"),
    PC("pc", "电脑端");

    private String code;
    private String name;

    LoginLogAppCodeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public boolean equalsCode(String code) {
        return this.code.equals(code);
    }
}
